package com.dhcc.cdc.busi.service.impl;

import com.baomidou.mybatisplus.plugins.Page;
import com.dhcc.cdc.busi.dao.CdcLabEntryMapper;
import com.dhcc.cdc.busi.entity.CdcLabEntryEntity;
import com.dhcc.cdc.busi.service.ICdcLabEntryService;
import com.dhcc.core.framework.base.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 检验项目与检验医嘱对照关系表数据服务层接口
 * 
 * @ClassName: LabEntryServiceImpl
 * @Description: TODO
 * @author jumper
 * @date 2021-04-26 16:22:25
 */
@Service("labEntryService")
public class CdcLabEntryServiceImpl extends BaseServiceImpl<CdcLabEntryMapper, CdcLabEntryEntity> implements ICdcLabEntryService {

	@Override
	public List<CdcLabEntryEntity> page(Page<CdcLabEntryEntity> page, Map<String, Object> map) {
		return this.baseMapper.page(page, map);
	}
	@Override
	public List<CdcLabEntryEntity> list(Map<String, Object> map) {
		return this.baseMapper.list(map);
	}

	@Override
	public CdcLabEntryEntity selectByItemIdAndOrderId(Long labItemId, Long labOrderId) {
		return this.baseMapper.selectByItemIdAndOrderId(labItemId, labOrderId);
	}

}